package com.geek.factory.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.geek.factory.entity.Meta;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @Description 后台传递至前端的数据VO - 菜单的VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MenuVO implements Serializable {

    private String path;
    private String component;
    private String name;
    private Boolean alwaysShow;
    private Meta meta;

    //自己关联自己
    private List<MenuVO> children;
}
